package com.heima.model.behavior.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("app端用户收藏文章相关接口")
public class CollectionBehaviorDto {

    //文章id
    @ApiModelProperty("文章id")
    private Long entryId;

    //0收藏 1 取消收藏
    @ApiModelProperty("0收藏 1 取消收藏")
    private Short operation;

    //发布时间
    @ApiModelProperty("发布时间")
    private Date publishedTime;

    //0文章 1 动态
    @ApiModelProperty("0文章 1 动态")
    private Short type;
}
